// 列表
export interface GetTableData {
  /** 当前页码 */
  pageNum: number
  /** 查询条数 */
  pageSize: number
  type_code?: undefined | string
}

export interface GetTableListData {
  type_code: string
}
// 新增
export interface addRequestData {
  type_code: string
  data_name: string
  data_code: string
  data_value: string
  status: number
  description?: string
}
// 修改
export interface editRequestData {
  id: number | undefined
  type_code: string
  data_name: string
  data_code: string
  data_value: string
  status: number
  description?: string
}
// 删除
export interface deleteRequestData {
  id: number
}

// 返回值
export type GetTableResponseData = ApiResponseData<{
  data: any[]
  total: number
}>
